<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>RunParmArrayEntry</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="RunParmArrayEntry";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mmj/util/ProofAsstBoss.html" title="class in mmj.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mmj/util/RunParmFile.html" title="class in mmj.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mmj/util/RunParmArrayEntry.html" target="_top">Frames</a></li>
<li><a href="RunParmArrayEntry.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">mmj.util</div>
<h2 title="Class RunParmArrayEntry" class="title">Class RunParmArrayEntry</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>mmj.util.RunParmArrayEntry</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Comparable&lt;<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">RunParmArrayEntry</span>
extends java.lang.Object
implements java.lang.Comparable&lt;<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&gt;</pre>
<div class="block">RunParmArrayEntry holds a RunParm "name" string AND an array(0->n) of RunParm
 "value" strings, OR it holds a "commentLine" (but not both).</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#commentLine">commentLine</a></strong></code>
<div class="block">if commentLine != null then the entire entry is a comment and there is no
 data in the rest of it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#name">name</a></strong></code>
<div class="block">name is the first field on a DelimitedTextParser line.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#values">values</a></strong></code>
<div class="block">values is an array of String corresponding to fields 1 -> n of a
 DelimitedTextParser.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#RunParmArrayEntry()">RunParmArrayEntry</a></strong>()</code>
<div class="block">Construct a dummy RunParmArrayEntry with no parameters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#RunParmArrayEntry(mmj.util.DelimitedTextParser)">RunParmArrayEntry</a></strong>(<a href="../../mmj/util/DelimitedTextParser.html" title="class in mmj.util">DelimitedTextParser</a>&nbsp;parser)</code>
<div class="block">Construct a RunParmArrayEntry using a DelimitedTextParser pre-loaded with
 text line and delimiter/quoter parms.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#RunParmArrayEntry(java.lang.String, java.lang.String[])">RunParmArrayEntry</a></strong>(java.lang.String&nbsp;name,
                 java.lang.String[]&nbsp;values)</code>
<div class="block">Construct a RunParmArrayEntry manually using a name and values array.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#compareTo(mmj.util.RunParmArrayEntry)">compareTo</a></strong>(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;obj)</code>
<div class="block">Compares RunParmArrayEntry object based on the name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object&nbsp;obj)</code>
<div class="block">Compute for equality with another RunParmArrayEntry based on name String
 equals().</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#hashCode()">hashCode</a></strong>()</code>
<div class="block">Compute hashcode for RunParmArrayEntry using name.hashCode().</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mmj/util/RunParmArrayEntry.html#toString()">toString</a></strong>()</code>
<div class="block">Converts RunParmArrayEntry to a String.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="commentLine">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commentLine</h4>
<pre>public&nbsp;java.lang.String commentLine</pre>
<div class="block">if commentLine != null then the entire entry is a comment and there is no
 data in the rest of it. This is the case when the first character of the
 input line is a blank or the line is empty.</div>
</li>
</ul>
<a name="name">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>public&nbsp;java.lang.String name</pre>
<div class="block">name is the first field on a DelimitedTextParser line.
 <p>
 Generally, this would be a keyword.</div>
</li>
</ul>
<a name="values">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>values</h4>
<pre>public&nbsp;java.lang.String[] values</pre>
<div class="block">values is an array of String corresponding to fields 1 -> n of a
 DelimitedTextParser.
 <p>
 The program knows nothing about the contents of fields except that they
 are String's, and perhaps empty ("").</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="RunParmArrayEntry()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RunParmArrayEntry</h4>
<pre>public&nbsp;RunParmArrayEntry()</pre>
<div class="block">Construct a dummy RunParmArrayEntry with no parameters.</div>
</li>
</ul>
<a name="RunParmArrayEntry(java.lang.String, java.lang.String[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RunParmArrayEntry</h4>
<pre>public&nbsp;RunParmArrayEntry(java.lang.String&nbsp;name,
                 java.lang.String[]&nbsp;values)</pre>
<div class="block">Construct a RunParmArrayEntry manually using a name and values array.
 <p>
 Quoter and Delimiter characters are set to the defaults from
 UtilConstants:
 <ul>
 <li>UtilConstants.RUNPARM_FIELD_DELIMITER_DEFAULT
 <li>UtilConstants.RUNPARM_FIELD_QUOTER_DEFAULT
 </ul></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the RunParm</dd><dd><code>values</code> - the arguments to the RunParm</dd></dl>
</li>
</ul>
<a name="RunParmArrayEntry(mmj.util.DelimitedTextParser)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RunParmArrayEntry</h4>
<pre>public&nbsp;RunParmArrayEntry(<a href="../../mmj/util/DelimitedTextParser.html" title="class in mmj.util">DelimitedTextParser</a>&nbsp;parser)</pre>
<div class="block">Construct a RunParmArrayEntry using a DelimitedTextParser pre-loaded with
 text line and delimiter/quoter parms.
 <p>
 Checks for comment: if the input line begins with one of the following
 characters then it is deemd a "comment":
 <ul>
 <li>UtilConstants.RUNPARM_COMMENT_CHAR_SPACE
 <li>UtilConstants.RUNPARM_COMMENT_CHAR_ASTERISK
 <li>UtilConstants.RUNPARM_COMMENT_CHAR_SLASH
 </ul>
 <p>
 If the line is not a comment but is empty or null, an
 IllegalArgumentException is thrown. Otherwise, the name and values are
 extracted using DelimitedTextParser.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parser</code> - pre-loaded DelimitedTextParser object.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="hashCode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Compute hashcode for RunParmArrayEntry using name.hashCode().
 <p>
 This won't work well with a bunch of comment lines thrown in, or
 duplicates!</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>hashcode equal to name.hashCode().</dd></dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;obj)</pre>
<div class="block">Compute for equality with another RunParmArrayEntry based on name String
 equals().</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if obj is a RunParmArrayEntry and name.equals(blah.name),
         else false.</dd></dl>
</li>
</ul>
<a name="compareTo(mmj.util.RunParmArrayEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&nbsp;obj)</pre>
<div class="block">Compares RunParmArrayEntry object based on the name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../mmj/util/RunParmArrayEntry.html" title="class in mmj.util">RunParmArrayEntry</a>&gt;</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - RunParmArrayEntry object to compare to this.</dd>
<dt><span class="strong">Returns:</span></dt><dd>returns negative, zero, or a positive int if this
         RunParmArrayEntry object is less than, equal to or greater than
         the input parameter obj.</dd></dl>
</li>
</ul>
<a name="toString()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">Converts RunParmArrayEntry to a String.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>String version of RunParmArrayEntry, which will be in a
         normalized form, with field delimiters and quoters placed amongst
         name and values fields according to the contents of those fields
         (i.e. uses quotes only if necessary).</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mmj/util/ProofAsstBoss.html" title="class in mmj.util"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mmj/util/RunParmFile.html" title="class in mmj.util"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mmj/util/RunParmArrayEntry.html" target="_top">Frames</a></li>
<li><a href="RunParmArrayEntry.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
